<?php
/* Very useful helper on the backend, where multiselect fields that do not need to be edited
much can be used to jus show he selected values & not other values, that way data to be fetched for the
display is lesser hence faster
*/
?>

<div id="<?php echo $css_id; ?>" class="<?php echo $css_classes; ?>">
<?php
foreach($value as $key=>$val){

	if($val['active']==1){
?>
    <div data-value="<?php echo $val['id']; ?>" class="option active"><?php echo $val['name']; ?></div>
<?php
	}
}
?>
</div>